//
//  UIButton+RoundedRect.m
//  JewelryStore
//
//  Created by apple on 2017/1/9.
//  Copyright © 2017年 com. All rights reserved.
//

#import "UIButton+RoundedRect.h"

@implementation UIButton (RoundedRect)

- (void)setupRoundeRectWithWidth:(CGFloat)width
{
    self.layer.borderWidth = 1;
    self.layer.borderColor = RGB(189, 189, 189).CGColor;
    self.layer.cornerRadius = width/4;
    self.layer.masksToBounds = YES;
        
}
@end
